export const tableOption = {
  border: true,
  index: true,
  indexLabel: "序号",
  stripe: true,
  menuAlign: "center",
  align: "center",
  viewBtn: true,
  column: [
    {
      type: "input",
      label: "唯一标识",
      prop: "id",
      display: false,
      hide: true
    },
    {
      type: "select",
      label: "线路名称",
      prop: "lineCode",
      search: true,
      cascaderItem: ["stationCode"],
      dicUrl: "support/swparamline/dict",
      props: {
        label: "name",
        value: "code"
      },
      rules: [{ required: true, message: "请选择线路名称" }]
    },
    {
      type: "select",
      label: "车站名称",
      prop: "stationCode",
      search: true,
      dicFlag: false,
      dicUrl: "support/swparamstation/dict/{{key}}",
      props: {
        label: "name",
        value: "code"
      },
      rules: [{ required: true, message: "请选择车站名称" }]
    },
    {
      type: "input",
      label: "TVM编号",
      search: true,
      prop: "tvmCode",
      editDisabled: true,
      rules: [{ required: true, message: "请输入TVM编号" }]
    },
    {
      type: "select",
      label: "状态",
      prop: "status",
      search: true,
      dicData: [
        {
          label: "启用",
          value: "1"
        },
        {
          label: "未启用",
          value: "0"
        }
      ],
      rules: [{ required: true, message: "请选择状态" }]
    },
    {
      type: "input",
      label: "部门ID",
      prop: "deptId",
      display: false,
      hide: true
    },
    {
      type: "input",
      label: "创建人ID",
      prop: "creatorId",
      display: false,
      hide: true
    },
    {
      type: "input",
      label: "创建人名称",
      prop: "creatorName",
      display: false,
      hide: true
    },
    {
      type: "input",
      label: "创建时间",
      prop: "createTime",
      display: false,
      hide: true
    }
  ]
};
